package com.mdlib.helper.module.location;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ljlib.help.R;

import java.util.List;

/**
 * Created by librabin on 16/12/16.
 */

public class AddressAdapter extends BaseQuickAdapter<AddressEntity> {

    public AddressAdapter(List<AddressEntity> data) {
        super(R.layout.item_address_list, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, AddressEntity cityEntity) {
         baseViewHolder.setText(R.id.item_address_text, cityEntity.getName());
    }


}
